//路由文件
import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/bizPage/HelloWorld' //hello word组件
import PageOne from '@/bizPage/PageOne' //hello word组件
import Home from '@/bizPage/Home' //hello word组件


Vue.use(Router)

export default new Router({
  routes: [

    //默认定位到
    {path: '/', redirect: 'Home'},

    {
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: "/PageOne",
      name: "PageOne",
      component: PageOne
    },
    {
      path: "/Home",
      name: "Home",
      component: Home
    }
    // {
    //
    //   path: "/pageO2",
    //   name: 'page02',
    //   component: pageO2
    // }
  ]
})
